import gulp from 'gulp';
import babel from 'gulp-babel';

const dirs = {
	src : './src',
	dest : 'dest'
},	es6Path = {
	src : `${ dirs.src }` + '/*.es6',
	dest : `${ dirs.dest }` 
};

gulp.task('babel', () => {
	return gulp.src(es6Path.src)
			.pipe(babel())
			.pipe(gulp.dest(es6Path.dest));
});

gulp.task('watch', () => {
	gulp.watch(es6Path.src, ['babel']);
});


